package com.jio.service;

import com.jio.entity.Permission;
import org.springframework.stereotype.Service;

import java.util.List;

public interface PermissionService {
    //查询所有权限数据
    public List<Permission> findAll();

    void add(Permission permission);

    Permission findById(int id);

    void edit(Permission permission);

    void deleteById(int id);
}
